package com.ihr360.excel.validation;

import com.ihr360.excel.vo.CustomSpreadSheetValidateResult;
import com.ihr360.excel.vo.SpreadSheetSpecification;
import com.ihr360.excel.vo.SpreadSheetValidatorRequest;

/**
 * @author richey
 */
public interface SpreadSheetValidator {


    /**
     * 自定义业务校验
     *
     * @param request
     * @return
     */
    CustomSpreadSheetValidateResult customValidate(SpreadSheetValidatorRequest request);

    /**
     * 通用规则
     *
     * @param request
     * @return
     */
    SpreadSheetSpecification commonSpecification(SpreadSheetValidatorRequest request);




}